package com.sxdx.service;

import java.util.List;

import com.sxdx.entity.Teacher;


public interface TeacherService {
	
	public void save(Teacher teacher);
	
	public Teacher confirm(String username,String password);
	
	public List<Teacher> info(String hql,int page,int rows);
	
	public void delete(int id);
	
	public int findall();
	
	public void updatepassword(String username,String password,String newpassword);
}
